import numpy as np
from sklearn.model_selection import train_test_split

X = np.arange(10)
y = ['a','b','c','d','e','f','g','h','i','j']

X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=1,shuffle=True)

print(X_test.shape)

print(X_train.shape)

print(X_test)
print(y_test)